const configArr = [{
		color: "brown",
		label: "全部",
		value: "type1",
		count: 300
	},
	{
		color: "green",
		label: "未开始",
		value: "type2",
		count: 300
	},
	{
		color: "yellow",
		label: "盘点中",
		value: "type3",
		count: 300
	},
	{
		color: "orange",
		label: "已结束",
		value: "type4",
		count: 300
	},
	{
		color: "red",
		label: "已完结",
		value: "type5",
		count: 300
	},
	{
		color: "pink",
		label: "已过账",
		value: "type6",
		count: 300
	},
	{
		color: "gray",
		label: "已作废",
		value: "type7",
		count: 300
	}
]
const filterOption = {
	items: [{
			label: "盘点仓库",
			type: "dropdown",
			data: [{
					label: '1',
					value: 1
				},
				{
					label: '2',
					value: 30
				},
			],
			placeholder: "请选择",
			value: undefined,
			key: "status"
		},
		{
			label: "盘点状态",
			type: "dropdown",
			data: [{
					label: '1',
					value: 1
				},
				{
					label: '2',
					value: 30
				},
				{
					label: '2',
					value: 40
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "3223dsd"
		},
		{
			label: "创建人",
			type: "dropdown",
			data: [{
					label: '1',
					value: 1
				},
				{
					label: '2',
					value: 30
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "createBy"
		},
		{
			label: "提交人",
			type: "dropdown",
			data: [{
					label: '1',
					value: '1'
				},
				{
					label: '2',
					value: '2'
				}
			],
			placeholder: "请选择",
			value: undefined,
			key: "submitter "
		},
		{
			label: "开始盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "inventoryStartTime"
		},
		{
			label: "结束盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createTim2e"
		},
		{
			label: "创建盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createTim3e"
		},
		{
			label: "提交盘点时间",
			type: "datetimerange",
			data: undefined,
			placeholder: "请选择",
			value: undefined,
			key: "createTim4e"
		},
	],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
const tableData = [

]
const tableHeaderData = [{
		prop: 'type',
		label: '盘点仓库',
		width: '120'
	},
	{
		prop:'factory',
		label:'盘点地点',
		width:''
	},
	{
		prop: 'createBy',
		label: '创建人',
		width: '150'
	},
	{
		prop: 'outWarehouse',
		label: '应盘数量',
		width: '180'
	},
	{
		prop: 'inWarehouse',
		label: '实盘数量',
		width: '180'
	},
	{
		prop: 'createTime',
		label: '创建盘点时间',
		width: '160'
	},
	{
		prop: 'sumCount',
		label: '盘点开始时间',
		width: '160'
	},
	{
		prop: 'logisticsCompany',
		label: '盘点结束时间',
		width: '160'
	},
	{
		prop: 'inventoryStatus',
		label: '盘点状态',
		width: '160'
	},
	/* {
		prop:'returnReason',
		label:'调拨原因',
		width:''
	}, */
	{
		prop: 'submitter ',
		label: '提交人',
		width: ''
	},
	{
		prop: 'createB22y',
		label: '提交报告时间',
		width: '160'
	},
]
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total: 1,
	num1: 1,
	num2: 1
}
const recipientData = [{
	label: '收件地址：',
	value: '广东省深圳市南山区大冲深圳市南山区大冲深圳市南山区大冲'
}]
const companyOption = [{
		label: '顺丰',
		value: 'shunfeng'
	},
	{
		label: 'EMS',
		value: 'ems'
	}
]
let Model = {
	data() {
		return {
			Model: {
				configArr,
				filterOption,
				page: {
					pageIndex: 1,
					pageSize: 10
				},
				tableData,
				tableHeaderData,
				paginationObject,
				TableSelectData: [],
				importFileDialog: false,
				recipientData,
				companyOption,
				companyOptionVal: 'shunfeng',
				shipmentNumber: '', //物流单号
				isDisable: true, //顺丰的单号不能输入修改
				tipsShow: false,
				inMsg: '',
				outMsg: '',
				fileupName: '', //文件名
			}
		}
	}
}
export default Model;
